Skip to content

Fix root DataConverter selection with multiple Spring Boot namespaces - #3247

Open
yumingjs wants to merge 1 commit into
temporalio:mainfrom
yumingjs:fix/preserve-root-data-converter
Open

yumingjs wants to merge 1 commit into
temporalio:mainfrom
yumingjs:fix/preserve-root-data-converter

Conversation

@yumingjs

@yumingjs yumingjs commented Dec 2, 2026

Copy link
Copy Markdown

Fixes #3245

With both mainDataConverter and an alias-specific converter registered, the root candidate list could be empty. The root workflow client then fell back to the SDK default.

Keep mainDataConverter in the candidate list while still filtering out converters named for non-root namespaces. The regression test checks that the root and aliased workflow clients each use their configured bean.

The new test in MultiNamespaceTest failed on the root client assertion before the change and passed afterward. I ran the tests on Windows with JDK 21 and skipped Kotlin formatting because ktlint could not be downloaded.

Signed-off-by: Kong Liangyu <201232322+yumingjs@users.noreply.github.com>
@yumingjs
yumingjs requested a review from a team as a code owner December 2, 2026 11:57
@CLAassistant

CLAassistant commented Dec 2, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spring Boot drops mainDataConverter when a non-root namespace is configured

2 participants